const universityData = [
  { name: "清华大学", rank: 1, score: 852.5 },
  { name: "北京大学", rank: 2, score: 746.7 },
  { name: "浙江大学", rank: 3, score: 649.2 },
  { name: "上海交通大学", rank: 4, score: 625.9 },
  { name: "南京大学", rank: 5, score: 566.1 },
  { name: "复旦大学", rank: 6, score: 556.7 },
  { name: "中国科学技术大学", rank: 7, score: 526.4 },
  { name: "华中科技大学", rank: 8, score: 497.7 },
  { name: "武汉大学", rank: 9, score: 488.0 },
  { name: "中山大学", rank: 10, score: 457.2 },
  { name: "西安交通大学", rank: 11, score: 452.5 },
  { name: "哈尔滨工业大学", rank: 12, score: 450.2 },
  { name: "北京航空航天大学", rank: 13, score: 445.1 },
  { name: "北京师范大学", rank: 14, score: 440.9 },
  { name: "同济大学", rank: 15, score: 439.0 },
  { name: "四川大学", rank: 16, score: 435.7 },
  { name: "东南大学", rank: 17, score: 432.7 },
  { name: "中国人民大学", rank: 18, score: 409.7 },
  { name: "南开大学", rank: 19, score: 402.1 },
  { name: "北京理工大学", rank: 20, score: 395.6 },
  { name: "天津大学", rank: 21, score: 390.3 },
  { name: "山东大学", rank: 22, score: 387.9 },
  { name: "厦门大学", rank: 23, score: 383.3 },
  { name: "吉林大学", rank: 24, score: 379.5 },
  { name: "华南理工大学", rank: 25, score: 379.4 },
  { name: "中南大学", rank: 26, score: 378.6 },
  { name: "大连理工大学", rank: 27, score: 365.1 },
  { name: "西北工业大学", rank: 28, score: 359.6 },
  { name: "华东师范大学", rank: 29, score: 358.0 },
  { name: "中国农业大学", rank: 30, score: 351.5 },
  { name: "华东理工大学", rank: 31, score: 344.6 },
  { name: "北京化工大学", rank: 32, score: 342.9 },
  { name: "北京科技大学", rank: 33, score: 341.8 },
  { name: "北京交通大学", rank: 34, score: 340.9 },
  { name: "电子科技大学", rank: 35, score: 340.0 },
  { name: "东华大学", rank: 36, score: 339.1 },
  { name: "对外经济贸易大学", rank: 37, score: 338.3 },
  { name: "福州大学", rank: 38, score: 337.6 },
  { name: "哈尔滨工程大学", rank: 39, score: 336.8 },
  { name: "合肥工业大学", rank: 40, score: 336.0 },
  { name: "河海大学", rank: 41, score: 335.2 },
  { name: "湖南大学", rank: 42, score: 334.5 },
  { name: "华北电力大学", rank: 43, score: 333.7 },
  { name: "华南师范大学", rank: 44, score: 332.9 },
  { name: "华中农业大学", rank: 45, score: 332.1 },
  { name: "华中师范大学", rank: 46, score: 331.3 },
  { name: "江苏大学", rank: 47, score: 330.5 },
  { name: "江南大学", rank: 48, score: 329.7 },
  { name: "兰州大学", rank: 49, score: 328.9 },
  { name: "南京工业大学", rank: 50, score: 328.1 },
  { name: "南京航空航天大学", rank: 51, score: 327.3 },
  { name: "南京理工大学", rank: 52, score: 326.5 },
  { name: "南京师范大学", rank: 53, score: 325.7 },
  { name: "南昌大学", rank: 54, score: 324.9 },
  { name: "青岛大学", rank: 55, score: 324.1 },
  { name: "清华大学", rank: 56, score: 323.3 },
  { name: "山东科技大学", rank: 57, score: 322.5 },
  { name: "上海财经大学", rank: 58, score: 321.7 },
  { name: "上海大学", rank: 59, score: 320.9 },
  { name: "上海交通大学医学院", rank: 60, score: 320.1 },
];

export const option = {
  title: {
    text: "中国大学软科排行榜(根据评分)",
  },
  tooltip: {},
  xAxis: {
    data: universityData.map((uni) => uni.name),
  },
  yAxis: {},
  series: [
    {
      name: "排名",
      type: "bar",
      data: universityData.map((uni) => uni.score),
    },
  ],
};
